package me.yobol.greentable.dao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import me.yobol.greentable.bean.IngredientCommentBean;

/**
 * @author Yobol
 *
 */
public interface IIngredientCommentDAO {
	
	public int save(Connection ctn,IngredientCommentBean comment) throws SQLException;
	
	public IngredientCommentBean delete(Connection ctn,int icId) throws SQLException;

	public IngredientCommentBean get(Connection ctn,int icId) throws SQLException;
	public List<IngredientCommentBean> getByIgId(Connection ctn,int igId) throws SQLException;
}
